package cn.ibizlab.todo.core.pms.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Async;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cache.annotation.CacheEvict;

import cn.ibizlab.todo.core.pms.domain.Project;
import cn.ibizlab.todo.core.pms.filter.ProjectSearchContext;


/**
 * 实体[Project] 服务对象接口
 */
public interface IProjectService{

    boolean create(Project et) ;
    void createBatch(List<Project> list) ;
    boolean update(Project et) ;
    void updateBatch(List<Project> list) ;
    boolean remove(Long key) ;
    void removeBatch(Collection<Long> idList) ;
    Project get(Long key) ;
    Project getDraft(Project et) ;
    boolean checkKey(Project et) ;
    Project favorites(Project et) ;
    boolean save(Project et) ;
    void saveBatch(List<Project> list) ;
    Project saveProject(Project et) ;
    Project saveProjectTeam(Project et) ;
    Page<Project> searchCurUser(ProjectSearchContext context) ;
    Page<Project> searchDefault(ProjectSearchContext context) ;

}



